projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ac4263
)
Check (tri-)state usage of zlib and use the right header file.
author
oliskoli
<oliskoli>
Sun, 13 Aug 2006 17:17:28 +0000
(17:17 +0000)
committer
oliskoli
<oliskoli>
Sun, 13 Aug 2006 17:17:28 +0000
(17:17 +0000)
defs.h
patch
|
blob
|
history
diff --git
a/defs.h
b/defs.h
index 736e21d143f569842191e5847402435ffa68a286..7b0d04c1baa407690fe3bbda668a9dc24d68b19b 100644
(file)
--- a/
defs.h
+++ b/
defs.h
@@
-28,7
+28,11
@@
#include "config.h"
#include "queue.h"
#include "gbtypes.h"
+#if HAVE_LIBZ
+#include <zlib.h>
+#elif !ZLIB_INHIBITED
#include "zlib/zlib.h"
+#endif
#include "gbfile.h"
#include "cet.h"
#include "cet_util.h"